<?php session_start(); ?>
<?php header("Content-Type: text/html; charset=utf-8",true); ?>
<?php
include_once("../../includes/restrito.php");
include_once("../models/cls.idioma.php");

$oIdiomaConfiguracao = new idioma();
$oIdiomaConfiguracao->select( $_GET["id"] );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>IDIOMA</title>
<link rel="stylesheet" type="text/css" href="../../includes/sistema.css"/>

<link href="../../includes/panels.css" rel="stylesheet" type="text/css" />
<script src="../../includes/panels.js" type="text/javascript"></script>

<script>
function _salvar(){
	document.frm.submit();
}
</script>
</head>
<body>
<div id="content">
  <h2>Definições do Idioma</h2>
  <hr size="1" noshade="noshade">
    <form name="frm" method="post" action="../controllers/ctl.idioma.php">
      <table width="600" border="0" align="center">
        <tr>
          <td width="100%"><h2><?php echo $_GET["nome"]; ?></h2></td>
        </tr>
        <tr>
          <td>
          
              <div id="TabbedPanels1" class="TabbedPanels">
                <ul class="TabbedPanelsTabGroup">
                  <li class="TabbedPanelsTab" tabindex="0">&nbsp;&nbsp;Edição&nbsp;&nbsp;</li>
                  <li class="TabbedPanelsTab" tabindex="0">&nbsp;&nbsp;Link&nbsp;&nbsp;</li>
                  <li class="TabbedPanelsTab" tabindex="0">&nbsp;&nbsp;Mês&nbsp;&nbsp;</li>
                </ul>
                <div class="TabbedPanelsContentGroup">



                  <!-- ABA 00-->
                  <div class="TabbedPanelsContent">
                  <table width="100%">
                  <tr>
                      <td width="20%">Ano: </td>
                      <td><input name="edicao_ano" type="text" class="form40px" value="<?php echo $oIdiomaConfiguracao->edicao_ano; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Manchete: </td>
                      <td width="78%">
                         <input name="edicao_manchete" type="text" class="form100pc" value="<?php echo $oIdiomaConfiguracao->edicao_manchete; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Destaque: </td>
                      <td><input name="edicao_destaque" type="text" class="form100pc" value="<?php echo $oIdiomaConfiguracao->edicao_destaque; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Sumário Superior: </td>
                      <td><input name="edicao_menu_superior" type="text" class="form100pc" value="<?php echo $oIdiomaConfiguracao->edicao_menu_superior; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Sumário Inferior: </td>
                      <td><input name="edicao_menu_inferior" type="text" class="form100pc" value="<?php echo $oIdiomaConfiguracao->edicao_menu_inferior; ?>" /></td>
                    </tr>
                    <tr>
                      <td>Sumário Revista:</td>
                      <td><input name="edicao_menu_imagem" type="text" class="form100pc" value="<?php echo $oIdiomaConfiguracao->edicao_menu_imagem; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Veja mais: </td>
                      <td><input name="edicao_veja_mais" type="text" class="form100pc" value="<?php echo $oIdiomaConfiguracao->edicao_veja_mais; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Pesquisa: </td>
                      <td><input name="edicao_pesquisa" type="text" class="form100pc" value="<?php echo $oIdiomaConfiguracao->edicao_pesquisa; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Rodapé: </td>
                      <td><input name="edicao_rodape" type="text" class="form100pc" value="<?php echo $oIdiomaConfiguracao->edicao_rodape; ?>" /></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                    </tr>
                    </table>
        </div>
                   <!-- FIM ABA 0 -->
                   
                   
                   
                   
                  <!-- ABA 02-->
                  <div class="TabbedPanelsContent">
                  <table width="100%">
                    <tr>
                      <td width="20%">Inicial: </td>
                      <td><input name="link_inicial" type="text" class="form100pc" id="link_inicial" value="<?php echo $oIdiomaConfiguracao->link_inicial; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Assinatura: </td>
                      <td><input name="link_assinatura" type="text" class="form100pc" id="link_assinatura" value="<?php echo $oIdiomaConfiguracao->link_assinatura; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Pesquisa Avançada: </td>
                      <td><input name="link_pesquisa_avancada" type="text" class="form100pc" id="link_pesquisa_avancada" value="<?php echo $oIdiomaConfiguracao->link_pesquisa_avancada; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Fale Conosco: </td>
                      <td><input name="link_colaboradores" type="text" class="form100pc" id="link_colaboradores" value="<?php echo $oIdiomaConfiguracao->link_colaboradores; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Expediente: </td>
                      <td><input name="link_expediente" type="text" class="form100pc" id="link_expediente" value="<?php echo $oIdiomaConfiguracao->link_expediente; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Revista Anterior: </td>
                      <td><input name="link_revista_anterior" type="text" class="form100pc" id="link_revista_anterior" value="<?php echo $oIdiomaConfiguracao->link_revista_anterior; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">&nbsp;</td>
                      <td>&nbsp;</td>
                    </tr>
                    </table>
           </div>
                   <!-- FIM ABA 2 -->
                   
                   
                   
                   
                  
                  <!-- ABA 3 -->
                  <div class="TabbedPanelsContent">
                  <table width="100%">
                    <tr>
                      <td width="20%">Janeiro:</td>
	                    <td width="84%"><input name="mes_jan" type="text" class="form100pc" id="mes_jan" value="<?php echo $oIdiomaConfiguracao->mes_jan; ?>" />
                        </td>
                    </tr>
                    <tr>
                      <td width="20%">Fevereiro:</td>
                      <td><input name="mes_fev" type="text" class="form100pc" id="mes_fev" value="<?php echo $oIdiomaConfiguracao->mes_fev; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Março:</td>
                      <td><input name="mes_mar" type="text" class="form100pc" id="mes_mar" value="<?php echo $oIdiomaConfiguracao->mes_mar; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Abril:</td>
                      <td><input name="mes_abr" type="text" class="form100pc" id="mes_abr" value="<?php echo $oIdiomaConfiguracao->mes_abr; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Maio:</td>
                      <td><input name="mes_mai" type="text" class="form100pc" id="mes_mai" value="<?php echo $oIdiomaConfiguracao->mes_mai; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Junho:</td>
                      <td><input name="mes_jun" type="text" class="form100pc" id="mes_jun" value="<?php echo $oIdiomaConfiguracao->mes_jun; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Julho:</td>
                      <td><input name="mes_jul" type="text" class="form100pc" id="mes_jul" value="<?php echo $oIdiomaConfiguracao->mes_jul; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Agosto:</td>
                      <td><input name="mes_ago" type="text" class="form100pc" id="mes_ago" value="<?php echo $oIdiomaConfiguracao->mes_ago; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Setembro:</td>
                      <td><input name="mes_set" type="text" class="form100pc" id="mes_set" value="<?php echo $oIdiomaConfiguracao->mes_set; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Outubro:</td>
                      <td><input name="mes_out" type="text" class="form100pc" id="mes_out" value="<?php echo $oIdiomaConfiguracao->mes_out; ?>" /></td>
                    </tr>
                    <tr>
                      <td width="20%">Novembro:</td>
                      <td><input name="mes_nov" type="text" class="form100pc" id="mes_nov" value="<?php echo $oIdiomaConfiguracao->mes_nov; ?>" /></td>
                    </tr>
                    <tr>
                      <td>Dezembro:</td>
                      <td><input name="mes_dez" type="text" class="form100pc" id="mes_dez" value="<?php echo $oIdiomaConfiguracao->mes_dez; ?>" /></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                    </tr>
                 </table>
                  </div>
                  <!-- FIM ABA 2-->
                  
                  
                  
                </div>
              </div>

          
          </td>
        </tr>
        <tr>
          <td><input name="btnSubmit" type="button" class="formButton" value="SALVAR" onclick="_salvar()" />
          <input name="btnSubmit2" type="button" class="formButton" value="VOLTAR" onclick="javascript:history.back();" />
          <input name="id" type="hidden" value="<?php echo $oIdiomaConfiguracao->id; ?>" />
          <input name="nome" type="hidden" value="<?php echo $oIdiomaConfiguracao->nome; ?>" />
          <input name="sigla" type="hidden" value="<?php echo $oIdiomaConfiguracao->sigla; ?>" />
          <input name="situacao" type="hidden" value="<?php echo $oIdiomaConfiguracao->situacao; ?>" /></td>
        </tr>
      </table>
    </form>     
</div>
<script type="text/javascript">
<!--
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
//-->
</script>
</body>
</html>